import request from '@/utils/request';

// 获取订单列表
export function getOrderList(data) {
  return request({
    url: '/order/page',
    method: 'post',
    data,
  });
}

// 获取订单详情
export function getOrderDetail(orderId) {
  return request({
    url: `/order/orderDetail/${orderId}`,
    method: 'post',
  });
}
